package com.tanhua.dubbo.api.db;

import com.tanhua.model.db.Report;

import java.util.List;

/**
 * @author lamy
 * @version 1.0
 * @InterfaceName: ReportApi
 * @date 2021-12-27 17:19:06
 */
//结果报告表接口
public interface ReportApi {
    //插入report记录
    String insert(Report report);
    //根据id查询report
    Report findReport(Long id);
    // 查询相似用户
    List<Long> findUsers(Integer maxScore, Integer minScore,Report report);
    // 获取报告
    Report findOne(Long id, Long userId);
}
